<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <script src="../../../../../public/vendor/flexible/flexible.js"></script>
    <title>接苗单-详情</title>
    <link rel="stylesheet" type="text/css" href="../../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../../public/vendor/select2/select2.css">
    <link rel="stylesheet" href="../../../../../public/css/features/cbs/receivepig/receivepiginfo.css">
    <script id="looksalesplanmain-template" type="text/x-template">
        <div class='entrycon'>
            <h4 class="plantails-head" style="padding-top: 10px;font-size: 17px;">单据信息</h4>
        </div>
        <div class="report-contents-item-box">
            <div class="weui-cell materialinfo">
                <div class="weui-cell__hd"><label class="weui-label">单据编号</label></div>
                <div class="weui-cell__bd">{{=it.billNo}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">公司</label></div>
                <div class="weui-cell__bd">{{=it.fiOrgUnitName}}</div>
            </div>
             <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">服务部</label></div>
                <div class="weui-cell__bd">{{=it.serviceDepartmentName}}</div>
            </div>
               <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">业务日期</label></div>
                <div class="weui-cell__bd">{{=moment(it.bizDate).format('YYYY-MM-DD')}}</div>
            </div>
              <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">供应商</label></div>
                <div class="weui-cell__bd">{{=it.supplierName}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">供方猪场</label></div>
                <div class="weui-cell__bd">{{=it.farmOrgUnitName}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">供方批次</label></div>
                <div class="weui-cell__bd">{{=it.suppBreedBatchName}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">总价(元)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(it.totalPrice, 2)}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">验收重量(kg)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(it.totalWeight, 2)}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">验收数量(头)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(it.totalCount, 0)}}</div>
            </div>
             <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">供方总损耗数量(头)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(it.totalSuupLossCount, 0)}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">买方总损耗数量(头)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(it.totalBuyLossCount, 0)}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">总数量(头)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(it.newtotalCount, 0)}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">猪只日龄(天)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(it.entryDays,0)}}</div>
            </div>
             <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">发货地址</label></div>
                <div class="weui-cell__bd">{{=it.shipAddress}}</div>
            </div>
            <div style="margin:15px">
                <div style="padding-bottom: 15px;">备注</div>
                <div style='color:#4d4d4d'>
                    <textarea class="weui-textarea remark clearContent" rows="3" data-plugin="maxlength"  data-placement="bottom-right-inside" readonly>{{=it.remark||""}}</textarea>
                </div>
            </div>
        </div>
    </script>

    <script id="looksalesplan-template" type="text/x-template">
        <div class='entrycon'>
            <h4 class="plantails-head" style="padding-top: 10px;font-size: 17px;">单据明细</h4>
        </div>
        {{~ it.entreis :value:index}}
        <div class="report-contents-item-box">
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">车牌号</label></div>
                <div class="weui-cell__bd">{{=value.carNo}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">司机姓名</label></div>
                <div class="weui-cell__bd">{{=value.driverName}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">数量(头)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(value.count,0)}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">毛重(kg)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(value.grossWeight,2)}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">皮重(kg)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(value.tareWeight,2)}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">净重(kg)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(value.netWeight,2)}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">品种</label></div>
                <div class="weui-cell__bd">{{=value.pigBreedStr}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">买方损耗数量(头)</label></div>
                <div class="weui-cell__bd">{{=Utils.toThousands(value.buyLossCount,0)}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">养户</label></div>
                <div class="weui-cell__bd">{{=value.farmersName}}</div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">养殖批次</label></div>
                <div class="weui-cell__bd">{{=value.breedBatchName}}</div>
            </div>
            {{? Utils.IsNotNull(value.attaches)}}
            <div class="weui-cell">
                <div>
                    <div class="weui-cell__hd"><label class="weui-label">附件</label></div>
                    <div class="weui-cells-border weui-cells_form" id="uploader">
                        <div class="weui-cell" style="padding:0px">
                            <div class="weui-cell__bd">
                                <div class="weui-uploader">
                                    <div class="weui-uploader__bd">
                                        <ul class="weui-uploader__files" id="uploaderFiles-{{=index}}"></ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            {{?}}
        </div>
        {{~}}
        <div class="report-contents-item-box operation ">
            <div class="weui-cell operation-child">
                <a href="javascript:;" class="weui-btn weui-btn_primary"
                   style="width: 100%;border-radius:8px;margin-top: 0px;margin-right: 0px;" id="returnlist"
                   v-on:click="returnlist">返回列表</a>
            </div>
        </div>
    </script>
</head>

<body>
    <div id="main-looksalesplan">
        <div id="looksalesplan">
            <!-- <div id="spleplan-navbar" class="weui-navbar spleplan_nav">
                <a class="weui-navbar__item weui-bar__item--on navbar-click" href="javascript:;" id="all-list">
                    销售出库单
                </a>
                <a class="weui-navbar__item  navbar-click" href="javascript:;" id="save-list">
                    销售订单
                </a>
            </div> -->
            <div id="looksalesMain">
            </div>
            <div id="looksalesEntry">
            </div>

        </div>
    </div>


    <script type="text/javascript" src="../../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/select2/i18n/zh-CN.js"></script>
    <script type="text/javascript" src="../../../../../public/js/common/iosadaptation.js"></script>

    <script type="module" src="../../../../../public/js/features/cbs/receivepig/receivepiginfo.js"></script>

</body>

</html>